<template>
  <div class="hello">
    <el-date-picker
      v-model="value1"
      type="date"
      placeholder="选择日期">
    </el-date-picker>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator';
import { AppModule } from '@/store/modules/app_module'

@Component
export default class HelloWorld extends Vue {
  @Prop() private msg!: string;

  public value1 = '';

  public SetLanguage(lang: string) {
    AppModule.SetLanguage(lang)
    this.$i18n.locale = lang
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">

</style>
